package stylistcrm.core.services.security.dto;

import com.buybuyyi.stylistcrm.Entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by yanwc on 2016/9/7.
 */
public class UserDto extends Entity<Long>{

    private static final long serialVersionUID = 9071126770523025055L;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    private String loginName;
    private String userName;
    private String password;
    private String token;
    private boolean isLock;
    private boolean isEnable;

    public boolean isLock() {
        return isLock;
    }

    public void setLock(boolean lock) {
        isLock = lock;
    }

    public boolean isEnable() {
        return isEnable;
    }

    public void setEnable(boolean enable) {
        isEnable = enable;
    }

    private List<DataAuthorityDto> listDataAuthority;
    private List<ViewAuthorityDto> listViewAuthority;
    private List<OperationAuthorityDto> listOperationAuthority;
    private NavigationDto navigation;

    public Date getLoginDateTime() {
        return loginDateTime;
    }

    public void setLoginDateTime(Date loginDateTime) {
        this.loginDateTime = loginDateTime;
    }

    private Date loginDateTime;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<DataAuthorityDto> getListDataAuthority() {
        return listDataAuthority;
    }

    public void setListDataAuthority(List<DataAuthorityDto> listDataAuthority) {
        this.listDataAuthority = listDataAuthority;
    }

    public List<ViewAuthorityDto> getListViewAuthority() {
        return listViewAuthority;
    }

    public void setListViewAuthority(List<ViewAuthorityDto> listViewAuthority) {
        this.listViewAuthority = listViewAuthority;
    }

    public List<OperationAuthorityDto> getListOperationAuthority() {
        return listOperationAuthority;
    }

    public void setListOperationAuthority(List<OperationAuthorityDto> listOperationAuthority) {
        this.listOperationAuthority = listOperationAuthority;
    }

    public NavigationDto getNavigation() {
        return navigation;
    }

    public void setNavigation(NavigationDto navigation) {
        this.navigation = navigation;
    }
}
